package com.alvin.abp.common.exception;

/**
  *
  * Base class for all application related exception.
  *
  */
public abstract class BusinessException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	/**
	 * Default Constructor for ApplicationException.
	 * 
	 */
	public BusinessException() {
	}
	/**
	 * Constructor for ApplicationException.
	 * @param t the detail exception
	 */
	public BusinessException(Throwable t) {
		super(t);
	}
	/**
	 * Constructor for ApplicationException.
	 * @param msg the detail message
	 */
	public BusinessException(String msg) {
		super(msg);
	}

	/**
	 * Constructor for ApplicationException.
	 * @param msg the detail message
	 * @param cause the root cause (usually from using a underlying
	 * data access API such as JDBC)
	 */
	public BusinessException(String msg, Throwable cause) {
		super(msg, cause);
	}
}